Release 10.1A: OpenEdge Data Management:
SQL Reference
COALESCE
Specifies a series of expressions and returns the first expression whose value is not
NULL. If all the expressions evaluate as null,COALESCEreturns aNULLvalue.Syntax
The
COALESCEsyntax is shorthand notation for a common case that can also be represented in aCASEexpression. The following two formulations are equivalent:
Example
This example illustrates the
COALESCEfunction:
Notes
Compatibility
SQL compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |